package eip.chapter9.splitaggregate.impl;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import eip.chapter9.splitaggregate.ReservationInfo;

public class ReservationInformationServiceImpl implements
		eip.chapter9.splitaggregate.ReservationInformationService {

	private final static Log LOG = LogFactory.getLog(ReservationInformationServiceImpl.class);
	
	public ReservationInfo getReservationInfo(String userID, String hotelName) {
		LOG.info("Processing request for user: " + userID + " and hotel: " + hotelName);
		return new ReservationInfo("resID","101010","102010","302A",18473.23,1,3);
	}

}
